module.exports = class AgoraError extends Error {
	constructor(response, ...args) {
		super(...args);
		this.response = response ? JSON.stringify(response) : "";
		this.name = 'AgoraError';
		this.message = "agroa error";
		this.reTry = false;
	}
};
